<form>
  <h3 md-dialog-title>邀请组员：</h3>
  <div md-dialog-content>
    <md-input-container class="full-width">
      <input mdInput type="text" placeholder="组员名称" [mdAutocomplete]="autoMembers">
    </md-input-container>
  </div>
  <div md-dialog-actions>
    <button type="button" md-raised-button color="primary" (click)="onClick()">Save</button>
    <button type="button" md-button md-dialog-close>Close</button>
  </div>
</form>
<md-autocomplete #autoMembers="mdAutocomplete" [displayWith]="displayUsername">
  <md-option *ngFor="let item of items" [value]="item">
    {{ item.name }}
  </md-option>
</md-autocomplete>
